package com.iflytek.domain;

import java.util.List;

public class User {
	private String uid;
	private String username;
	private String userphone;
	private String useremail;
	private String password;
	private	String sex;
	
	private List<Orders> orderList;
	
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUserphone() {
		return userphone;
	}
	public void setUserphone(String userphone) {
		this.userphone = userphone;
	}
	public String getUseremail() {
		return useremail;
	}
	public void setUseremail(String useremail) {
		this.useremail = useremail;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	
	
	public List<Orders> getOrderList() {
		return orderList;
	}
	public void setOrderList(List<Orders> orderList) {
		this.orderList = orderList;
	}
	public User() {
		super();
	}
	
	public User(String uid, String username, String userphone, String useremail, String password, String sex,
			List<Orders> orderList) {
		super();
		this.uid = uid;
		this.username = username;
		this.userphone = userphone;
		this.useremail = useremail;
		this.password = password;
		this.sex = sex;
		this.orderList = orderList;
	}
	
	@Override
	public String toString() {
		return "User [uid=" + uid + ", username=" + username + ", userphone=" + userphone + ", useremail=" + useremail
				+ ", password=" + password + ", sex=" + sex + "]";
	}
	
	
}
